[INFO] cloning repository https://github.com/envis10n/rust_plugins_example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/envis10n/rust_plugins_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenvis10n%2Frust_plugins_example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenvis10n%2Frust_plugins_example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2f2fdb3285aa53a1e3bcd5b71bebfc4aa582d183
[INFO] fixing envis10n/rust_plugins_example against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenvis10n%2Frust_plugins_example" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/envis10n/rust_plugins_example
[INFO] finished tweaking git repo https://github.com/envis10n/rust_plugins_example
[INFO] tweaked toml for git repo https://github.com/envis10n/rust_plugins_example written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/envis10n/rust_plugins_example on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/envis10n/rust_plugins_example already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c228c6399c66720b9dc3e5e2c485bb75d3b55272b97a6ff1e05aa60a9becbdb0
[INFO] running `Command { std: "docker" "start" "c228c6399c66720b9dc3e5e2c485bb75d3b55272b97a6ff1e05aa60a9becbdb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c228c6399c66720b9dc3e5e2c485bb75d3b55272b97a6ff1e05aa60a9becbdb0" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c228c6399c66720b9dc3e5e2c485bb75d3b55272b97a6ff1e05aa60a9becbdb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c228c6399c66720b9dc3e5e2c485bb75d3b55272b97a6ff1e05aa60a9becbdb0" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating demo_plug/Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Migrating plugin_demo/Cargo.toml from 2018 edition to 2021
[INFO] [stderr]     Checking libloading v0.7.0
[INFO] [stderr]     Checking plugin_demo v0.1.0 (/opt/rustwide/workdir/plugin_demo)
[INFO] [stderr]    Migrating plugin_demo/src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Checking demo_plug v0.1.0 (/opt/rustwide/workdir/demo_plug)
[INFO] [stderr]    Migrating demo_plug/src/lib.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating plugin_demo/src/bin/plugin_demo.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.89s
[INFO] [stderr] crater-edition-check: demo_plug v0.1.0 (/opt/rustwide/workdir/demo_plug) updating edition from 2018 to 2021
[INFO] [stderr] crater-edition-check: plugin_demo v0.1.0 (/opt/rustwide/workdir/plugin_demo) updating edition from 2018 to 2021
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Checking plugin_demo v0.1.0 (/opt/rustwide/workdir/plugin_demo)
[INFO] [stderr]     Checking demo_plug v0.1.0 (/opt/rustwide/workdir/demo_plug)
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> demo_plug/src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | declare_plugin!(DemoPlug, DemoPlug::default);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `declare_plugin` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> demo_plug/src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | declare_plugin!(DemoPlug, DemoPlug::default);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `declare_plugin` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0782`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `demo_plug` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> demo_plug/src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | declare_plugin!(DemoPlug, DemoPlug::default);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `declare_plugin` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> demo_plug/src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | declare_plugin!(DemoPlug, DemoPlug::default);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `declare_plugin` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0782`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `demo_plug` (lib test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "c228c6399c66720b9dc3e5e2c485bb75d3b55272b97a6ff1e05aa60a9becbdb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c228c6399c66720b9dc3e5e2c485bb75d3b55272b97a6ff1e05aa60a9becbdb0", kill_on_drop: false }`
[INFO] [stdout] c228c6399c66720b9dc3e5e2c485bb75d3b55272b97a6ff1e05aa60a9becbdb0
